DISCUSSION
Because ATSUI cannot guarantee the uniqueness of names among installed fonts, the
ATSUFindFontFromName function
finds the first (but not necessarily the only) font that matches the specified name, platform, language, and script. If you want to find, for an indexed font name, the font name and information about the name like type, platform, script ID, and language, call the function
ATSUGetIndFontName. If you want to find the ID of the first font in a font name table with a particular font name code, language, platform, and script, call the function
ATSUFindFontName.
ATSUFindFontFromName is provided for convenience only. You may wish to replicate its functionality if you wish create a more sophisticated name-matching algorithm or better guarantee the uniqueness of names among installed fonts.